package gsd.gaudi.common;

import gsd.gaudi.common.model.log.GaudiEventSequence;
import gsd.gaudi.common.model.log.GaudiListenerSequence;

import java.io.Serializable;

public class GaudiReport implements Serializable{

	private static final long serialVersionUID = 1L;

	private GaudiEventSequence eventsequence;
	private GaudiListenerSequence listenersequence;
	private GaudiException exception;
	
	public GaudiReport(GaudiEventSequence sequence, GaudiException e){
		this.setSequence(sequence);
		this.setException(e);
	}
	
	public GaudiReport(GaudiListenerSequence sequence, GaudiException e){
		this.setListenersequence(sequence);
		this.setException(e);
	}

	public void setSequence(GaudiEventSequence sequence) {
		this.eventsequence = sequence;
	}

	public GaudiEventSequence getSequence() {
		return eventsequence;
	}

	public void setListenersequence(GaudiListenerSequence listenersequence) {
		this.listenersequence = listenersequence;
	}

	public GaudiListenerSequence getListenersequence() {
		return listenersequence;
	}

	public void setException(GaudiException exception) {
		this.exception = exception;
	}

	public GaudiException getException() {
		return exception;
	}
	
	
	
}
